import {Component, OnInit} from '@angular/core';
import {ConfigService} from '@kylin/config';

@Component({
    templateUrl: './icon.component.html',
    styleUrls: ['./icon.component.css']
})
export class IconComponent implements OnInit {

    iconfont: string;
    iconfontUrl = 'https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=694908&keyword=';

    zorroIcon = '<kylin-icon icon="form"></kylin-icon>';
    iconfontIcon = '<kylin-icon icon="icon-jieshao"></kylin-icon>';

    constructor(private configService: ConfigService) {
        this.iconfont = configService.fetchFromIconfontConfig().scriptUrl;
    }

    ngOnInit() {
    }

}
